<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ page session="true" %>
<%@ page import="java.util.*" %>

<%
	String angemeldet=(String)session.getAttribute("angemeldet");
	if (angemeldet != "1") response.sendRedirect("login.jsp");	// wer diese Seite aufrufen will, aber nicht angemeldet ist, landet auf der Login-Seite
	String user=(String)session.getAttribute("user");
%>
     
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>


			<%@ include file="inserts/eingeloggt.html" %>

<% // out.println("<font size=2>Du bist angemeldet als " + user + " | <a href=\"login.jsp\">Abmelden</a></font>"); %>

<form action="artikelInDBSchreiben.jsp" method="POST">
  <table border="0" cellpadding="5" cellspacing="0" bgcolor="#E0E0E0" align="center">
    <tr>
    <td>
    	<input type="radio" name="kategorie" value="1"> Roman<br>
		<input type="radio" name="kategorie" value="2"> Sachbuch<br> 
      	<input type="radio" name="kategorie" value="3"> Kinderbuch<br> 
    </td>
    <td>
		<input type="radio" name="neu" value="1"> neu<br>
		<input type="radio" name="neu" value="2"> gebraucht<br>
 	 </td>
 	 <tr>
 	<td align="left">Titel:</td>
      <td><input name="titel" type="text" size="30" maxlength="40"></td>
     <td align="left">Startpreis (ganze Euro):</td>
      <td><input name="startpreis" type="text" size="4" maxlength="4"></td>
      </tr>
    <tr>
      <td align="left">Autor:</td>
      <td><input name="autor" type="text" size="30" maxlength="40"></td>
      <td align="left">Sofort-Preis (ganze Euro):</td>
      <td><input name="sofortpreis" type="text" size="4" maxlength="4"></td>
    </tr>
    <tr>
      <td align="left">Beschreibung: (max 140)</td>
      <td><input name="beschreibung" type="text" size="30" maxlength="140"></td>
    </tr>
   <tr>
      <td align="center"></td>
      <td>
        <input type="submit" value=" Auktion starten ">
        <input type="reset" value=" abbrechen">
      </td>
    </tr>
  </table>
 </form>

</body>
</html>